<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .rote{
        width: 300px;
        height: 300px;
        background-color: red;
        transform-style: preserve-3d;
        transform: rotateY(45deg) translate(20px);
    }
</style>
<body>
    <div class="rote">
        <span>1</span>
    </div>
</body>
</html>